<div class="modal fade" id="auditPersons" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="auditPersonsLabel"
    aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="auditPersonsLabel">审核人</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close" (click)="clearQueryCriteria()">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="container">
                    <div class="row" style="margin-bottom: 60px;">
                        <h4>为&nbsp;<span class="stateGreen">{{taskName}}</span>&nbsp;分配审核人</h4>
                        <div class="row txtTitle">
                            <input matInput type="text" class="input_style" [(ngModel)]="queryCriteria" (keydown.enter)="_retrieval(queryCriteria)" placeholder="请输入关键字检索"
                                ngModel />
                            <button class="btn btn-search btn-blue" style="margin-right: 10px;" (click)="_retrieval(queryCriteria)" mat-button>
                                查询
                            </button>
                        </div>
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style=" height: 300px;">
                            <div class="table-thead" *ngIf="list" [ngClass]="{'table-thead-scroll':list.length > 17}">
                                <table class="tableStyle table table-hover table-striped">
                                    <thead>
                                        <tr>
                                            <th class="w15 text-center">选择</th>
                                            <th class="w50 text-left max-w">人员名称</th>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                            <div class="table-tbody">
                                <table class="tableStyle table table-hover table-striped">
                                    <tbody>
                                        <tr *ngFor="let item of list;let i = index">
                                            <td class="w15 text-center">
                                                <input type="checkbox" #event type="radio" name="audituser" (click)="_chose(item,list.length)" [checked]="item.isChecked">
                                            </td>
                                            <td class="w50 text-left max-w">{{item.userCode}}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!-- 分页 BEGIN -->
                        <app-pagination #pagination [getTotalItems]="total" (isLoadTableFromPagination)="_pagination($event)">
                        </app-pagination>
                        <!-- 分页 END -->
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" [disabled]="removeTableService._isEmpty()" (click)="dismissModal();clearQueryCriteria();">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" (click)="clearQueryCriteria()">取消</button>
            </div>
        </div>
    </div>
</div>